Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize the player's inventory in save files #431

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

patowen
Copy link
Collaborator

@patowen patowen commented Oct 5, 2024

This completes part of #428.

Allows users to exit and re-open Hypermine while keeping the contents of their inventory, as previously, the inventory was cleared every time the game was loaded.

@patowen patowen requested a review from Ralith October 5, 2024 20:36
server/src/sim.rs Outdated Show resolved Hide resolved
server/src/sim.rs Outdated Show resolved Hide resolved
server/src/sim.rs Outdated Show resolved Hide resolved
@patowen patowen force-pushed the save-inventory branch 2 times, most recently from c1b6e2a to f59d7d3 Compare November 27, 2024 21:55
@patowen patowen merged commit 019706e into Ralith:master Jan 2, 2025
4 checks passed
@patowen patowen deleted the save-inventory branch January 2, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants